home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / LispExample / LispApp.h < prev    next >
Text File  |  1995-06-12  |  867b  |  36 lines

  1. /*
  2. **    LispApp.m
  3. **    Appkit-based front-end for a separate lisp process.
  4. **    Lee Boynton, NeXT, Inc., 1989
  5. */
  6.  
  7. #import <appkit/Application.h>
  8.  
  9. @interface LispApp:Application
  10. {
  11.     id listener;
  12. }
  13.  
  14. - setListener:anObject;
  15.     /*
  16.     ** Provided to set the listener outlet via IB.
  17.     */
  18.  
  19. - (int)appEvaluate:(char *)theString;
  20.     /*
  21.     ** This appkit Speaker-compatible message allows other apps to send
  22.     ** an 'evaluate' message to lisp (for example, and editor might use
  23.     ** this to implement an 'eval-region' command).
  24.     */
  25.  
  26. - (BOOL)appAcceptsAnotherFile:sender;
  27. - (int)appOpenFile:(const char *)path type:(const char *)type;
  28.     /*
  29.     ** Workspace Manager interface to open documents. Documents with the
  30.     ** .lisp or .fasl (source and compiled, respectively), are automatically
  31.     ** loaded into lisp when double clicked on from Workspace.
  32.     */
  33.  
  34. @end
  35.  
  36.